package com.crr.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("订单明细")
@TableName("order_item")
public class OrderItem {
    @TableId(value = "order_item_id",type = IdType.AUTO)
    Integer order_item_id;
    Integer shop_id;
    Integer order_id;
    Integer category_id;
    Integer spu_id;
    Integer sku_id;
    Integer user_id;
    Integer count;
    @ApiModelProperty("商品名称")
    String spu_name;
    @ApiModelProperty("商品规格名称")
    String sku_name;
    @ApiModelProperty("产品主图片路径")
    String pic;
    @ApiModelProperty("产品主图片路径")
    Integer delivery_type;
    @ApiModelProperty(value = "shop_cart_time", example = "2024-11-11 10:30:30")
    String shop_cart_time;
    @ApiModelProperty("产品价格")
    Integer price;
    @ApiModelProperty("商品总金额")
    Integer spu_total_amount;

}
